package name.hankc.spring;

import name.hankc.spring.bean.autowired.DogAS;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class InjectComplexFieldAnnoSetterApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new AnnotationConfigApplicationContext("name.hankc.spring.bean.autowired");
    DogAS dog = ctx.getBean(DogAS.class);
    System.out.println(dog);
  }
}